using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EffectTracker : MonoBehaviour
{
    private GameObject target;
    public void GetTarger(GameObject obj)
    {
        target = obj;
    }

    public void FixedUpdate()
    {
        ParticleSystem particle = GetComponent<ParticleSystem>();
        if(target!=null)
        {
            transform.position = target.transform.position;
        }
    }
}
